package com.example.entity;

import com.example.entity.enums.Status;
import com.example.entity.enums.Type;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Sensors {
    Integer id;
    Integer greenhouseId;
    Type type;
    String location;
    Status status;
    Date lastActive;
}
